package com.jacobson.huobi.di.components

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.core.di.components.AppComponent
import com.jacobson.core.di.modules.ActivityModule
import com.jacobson.huobi.di.modules.RxPermissionModule
import com.jacobson.huobi.mvp.MainActivity
import dagger.Component

@ActivityScope
@Component(
    dependencies = [AppComponent::class],
    modules = [ActivityModule::class, RxPermissionModule::class]
)
interface MainActivityComponent {
    fun inject(activity: MainActivity)
}